package com.lxh.template;

/**
 * 模板方法模式
 */
public class WeGame {

    public static void main(String[] args) {
        Game dnf = new DNF();
        dnf.play();
        System.out.println();
        Game cf = new CF();
        cf.play();
    }
}
